package com.tsingteng.cosfun.ui.cosfun.imodel;

import com.tsingteng.cosfun.bean.BaseBackBean;
import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.CommBean;
import com.tsingteng.cosfun.bean.PullBlackBean;
import com.tsingteng.cosfun.callback.RxObserver;

import retrofit2.Call;
import retrofit2.Callback;

public interface ICommModel {

    /**
     * 作品评论
     *
     * @param
     * @param
     * @paramz
     */
    void getOpusComm(int top,String workId, String c, String deviceId, String parentCommentId, String userId, String commentMsg, Callback<BaseBackBean> callback);

    /**
     * 评论列表
     *
     * @param
     * @param
     * @param
     */
    void getOpusCommList(String userId, String c, String workId, String page_no, String page_size, String deviceId, Callback<BaseDataBean<CommBean>> callback);

    /**
     * 评论点赞
     *
     * @param
     * @param
     * @param
     */
    void getOpusCommLike(String userId, String workId, String commId, String type, Callback<BaseDataBean<String>> callback);

    /**
     * 删除评论
     *
     * @param callback
     */
    void commDel(String commID, Callback<BaseDataBean<String>> callback);

    /**
     * 获取拉黑状态
     *
     * @param workCallback
     */
    void getReadPullBlackStateInfo(int user_id, Callback<PullBlackBean> workCallback);
    /**
     * 取消拉黑
     *
     * @param workCallback
     */
    void getCancelPullBlackInfo(long user_id, Callback<PullBlackBean> workCallback);

}
